package com.xueyi.system.complaintManager.domain.po;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.complaintManager.domain.dto.ComplaintManagerDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 投诉管理 持久化对象
 *
 * @author zlf
 */
@TableName(value = "base_complaint_manager", excludeProperty = {"name","sort","status"},autoResultMap = true)
public class ComplaintManagerPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /** 编码 */
@Excel(name = "编码")
@TableField("code")
private String code;

    /** 投诉单位 */
@Excel(name = "投诉单位")
@TableField("complaint_unit")
private String complaintUnit;

    /** 地址 */
@Excel(name = "地址")
@TableField("address")
private String address;

    /** 联系人 */
@Excel(name = "联系人")
@TableField("liaison_user")
private String liaisonUser;

    /** 电话 */
@Excel(name = "电话")
@TableField("phone")
private String phone;

    /** 投诉产品id */
@Excel(name = "投诉产品id")
@TableField("product_id")
private String productId;

    /** 投诉产品名称 */
@Excel(name = "投诉产品名称")
@TableField("complaint_product")
private String complaintProduct;

    /** 规格 */
@Excel(name = "规格")
@TableField("specs")
private String specs;

    /** 批次 */
@Excel(name = "批次")
@TableField("batch")
private String batch;

    /** 投诉内容 */
@Excel(name = "投诉内容")
@TableField("complaint_content")
private String complaintContent;

    /** 调查结果 */
@Excel(name = "调查结果")
@TableField("check_result")
private String checkResult;

    /** 处理意见 */
@Excel(name = "处理意见")
@TableField("handle_opinion")
private String handleOpinion;

    /** 处理结果 */
@Excel(name = "处理结果")
@TableField("handle_result")
private String handleResult;

    /** 附件 */

@TableField(value = "appendix", typeHandler = FastjsonTypeHandler.class)
private JSONArray appendix;

public void setCode(String code) {
    this.code = code;
}

public String getCode() {
    return code;
}

public void setComplaintUnit(String complaintUnit) {
    this.complaintUnit = complaintUnit;
}

public String getComplaintUnit() {
    return complaintUnit;
}

public void setAddress(String address) {
    this.address = address;
}

public String getAddress() {
    return address;
}

public void setLiaisonUser(String liaisonUser) {
    this.liaisonUser = liaisonUser;
}

public String getLiaisonUser() {
    return liaisonUser;
}

public void setPhone(String phone) {
    this.phone = phone;
}

public String getPhone() {
    return phone;
}

public void setProductId(String productId) {
    this.productId = productId;
}

public String getProductId() {
    return productId;
}

public void setComplaintProduct(String complaintProduct) {
    this.complaintProduct = complaintProduct;
}

public String getComplaintProduct() {
    return complaintProduct;
}

public void setSpecs(String specs) {
    this.specs = specs;
}

public String getSpecs() {
    return specs;
}

public void setBatch(String batch) {
    this.batch = batch;
}

public String getBatch() {
    return batch;
}

public void setComplaintContent(String complaintContent) {
    this.complaintContent = complaintContent;
}

public String getComplaintContent() {
    return complaintContent;
}

public void setCheckResult(String checkResult) {
    this.checkResult = checkResult;
}

public String getCheckResult() {
    return checkResult;
}

public void setHandleOpinion(String handleOpinion) {
    this.handleOpinion = handleOpinion;
}

public String getHandleOpinion() {
    return handleOpinion;
}

public void setHandleResult(String handleResult) {
    this.handleResult = handleResult;
}

public String getHandleResult() {
    return handleResult;
}

public void setAppendix(JSONArray appendix) {
    this.appendix = appendix;
}

public JSONArray getAppendix() {
    return appendix;
}

}
